package com.xdf.teacher.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by JavaDog on 2018-3-23.
 */

public class RoomList implements Serializable{

    /**
     * data : [{"room_name":"新东方双师课堂二十","teacher_name":"XDFLS20","room_id":"779352","room_user_id":"shangshi1","teacher_zh":"XDFLS20","control_zh":"XDFHK20"}]
     * count : 1
     */

    private int count;
    private List<DataBean> data;
    /**
     * errorcode : -3
     * errormsg : 用户信息不正确
     */

    private int errorcode;
    private String errormsg;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public int getErrorcode() {
        return errorcode;
    }

    public void setErrorcode(int errorcode) {
        this.errorcode = errorcode;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    public static class DataBean implements Serializable{
        /**
         * room_name : 新东方双师课堂二十
         * teacher_name : XDFLS20
         * room_id : 779352
         * room_user_id : shangshi1
         * teacher_zh : XDFLS20
         * control_zh : XDFHK20
         */

        private String room_name;
        private String teacher_name;
        private String room_id;
        private String room_user_id;
        private String teacher_zh;
        private String control_zh;

        public String getRoom_name() {
            return room_name;
        }

        public void setRoom_name(String room_name) {
            this.room_name = room_name;
        }

        public String getTeacher_name() {
            return teacher_name;
        }

        public void setTeacher_name(String teacher_name) {
            this.teacher_name = teacher_name;
        }

        public String getRoom_id() {
            return room_id;
        }

        public void setRoom_id(String room_id) {
            this.room_id = room_id;
        }

        public String getRoom_user_id() {
            return room_user_id;
        }

        public void setRoom_user_id(String room_user_id) {
            this.room_user_id = room_user_id;
        }

        public String getTeacher_zh() {
            return teacher_zh;
        }

        public void setTeacher_zh(String teacher_zh) {
            this.teacher_zh = teacher_zh;
        }

        public String getControl_zh() {
            return control_zh;
        }

        public void setControl_zh(String control_zh) {
            this.control_zh = control_zh;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "room_name='" + room_name + '\'' +
                    ", teacher_name='" + teacher_name + '\'' +
                    ", room_id='" + room_id + '\'' +
                    ", room_user_id='" + room_user_id + '\'' +
                    ", teacher_zh='" + teacher_zh + '\'' +
                    ", control_zh='" + control_zh + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "RoomList{" +
                "count=" + count +
                ", data=" + data +
                ", errorcode=" + errorcode +
                ", errormsg='" + errormsg + '\'' +
                '}';
    }
}
